package com.ysd.lis.entity.samsto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.sql.Timestamp;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * (SamstoStorageFridge)表实体类
 *
 * @author leiming
 * @since 2024-10-25 14:34:48
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("SAMSTO_STORAGE_FRIDGE")
@SuppressWarnings("serial")
public class SamstoStorageFridge extends Model<SamstoStorageFridge> {
    //ID
    private String id;
    //仓库ID
    private String storageId;

    private String fridgeId;
    //关联关系
    private String linkType;

    @TableField(fill = FieldFill.INSERT)
    private String creator;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String editor;

    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Timestamp editTime;

    @TableField(fill = FieldFill.INSERT)
    private Integer delFlag;

    @TableField(fill = FieldFill.INSERT)
    private String orgId;



    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

